<?php

namespace App\Models\Personal;
use Illuminate\Database\Eloquent\Model;

class Shieldcompanies extends Model{
    //设置表的类型和表名
    protected $table='shieldcompanies';
    protected $primaryKey='id';
    public $timestamps=false;
    public $guarded = [];
    //protected $fillable = ['resume_id','uid', 'census', 'marital', 'height', 'addtime', 'updatetime'];

    //屏蔽和企业用户多对一关系表
    public function shieldComMany(){
        return $this->hasOne('App\Models\Company\CompanyUser','uid','company_uid');
    }
}